@charset 'utf-8';

@mixin bo {
  border: 1px solid red;
}

$color: #336699;
$color2: #888888;
$color3: #2277aa;

.main {
  width: 1000px;

  // height: 1500px;
  &::after {
    content: "";
    display: block;
    clear: both;
  }

  margin: 0 auto;
  margin-top: 40px;

  .left_main {
    width: 676px;
    // height: 100%;
    float: left;

    .carousel {
      height: 375px;

      h4 {
        font-weight: 400;
        font-size: 16px;
        height: 45px;
        line-height: 45px;
        border-bottom: 1px solid #eaeaea;
      }

      .pages {
        height: 320px;
        margin-top: 10px;
        // @include bo;
      }
    }

    .movie {
      margin-top: 40px;

      .banner {
        font-size: 16px;
        height: 45px;
        line-height: 45px;
        border-bottom: 1px solid #eaeaea;

        h4 {
          float: left;
          font-weight: 400;
          width: 200px;
        }

        span {
          float: right;
          width: 39px;
          font-size: 13px;

          a {
            color: #74749f;
          }

          a:hover {
            color: #fff;
            background-color: $color;
          }
        }
      }

      .content {
        :after {
          content: "";
          display: block;
          clear: both;
        }

        ul {
          margin-top: 20px;

          li {
            position: relative;
            float: left;
            width: 115px;
            height: 190px;
            margin-right: 25px;
            margin-bottom: 30px;

            :hover {
              cursor: pointer;
            }

            // background-color: red;
            img {
              width: 100%;
              height: 172.5px;
            }

            > p {
              text-align: center;
              color: $color3;
              font-size: 13px;
              height: 40px;

              strong {
                color: #e09015;
                font-size: 13px;
                font-weight: 400;
              }
            }

            .alertinfo {
              display: none;
              left: 140px;
              top: 0;
              width: 400px;
              // height: 400px;
              position: absolute;
              z-index: 999;
              background-color: white;
              border: 1px solid grey;

              .alerttitle {
                margin-top: 20px;
                padding-left: 30px;
                height: 40px;
                line-height: 40px;
                font-size: 22px;
                font-weight: 400;
                color: $color3;
              }

              .alertscore {
                padding-left: 30px;
                height: 30px;
                line-height: 30px;
                color: #e09015;
              }

              .alerttag {
                padding-left: 30px;
                word-wrap: break-word;

                span {
                  display: inline-block;
                  font-size: 13px;
                  color: #666666;
                  margin-right: 10px;
                  margin-bottom: 10px;
                  padding: 5px 10px;
                  border-radius: 12px;
                  background-color: #f5f5f9;
                }
              }

              .introduction {
                border-top: 1px solid #dddddd;
                text-align: left;
                padding: 20px 30px;
                font-size: 14px;
                background-color: #f5f5f5;
                color: #666666;
                line-height: 1.6;
              }
            }
          }

          li:nth-child(5n) {
            margin-right: 0;
          }
        }
      }
    }
  }

  .right_main {
    width: 300px;
    height: 100%;

    float: right;

    // @include bo;
    .scorebillboard {
      .banner {
        height: 44px;
        background-color: #f2f7f6;
        font-size: 16px;
        font-weight: 400;
        line-height: 44px;
        padding-left: 20px;
        border-radius: 5px;
      }

      ul li {
        height: 44px;
        line-height: 44px;
        border-top: 1px solid #eaeaea;

        :hover {
          background-color: $color;
          color: #fff;
        }

        &:nth-child(10n) {
          border-bottom: 1px solid #eaeaea;
        }

        span {
          font-size: 10px;
          margin-left: 5px;
        }

        a {
          font-size: 14px;
          color: $color3;
          margin-left: 10px;
          padding: 0 2px;
        }
      }
    }

    .contactus {
      margin-top: 30px;

      .banner {
        height: 44px;
        background-color: #f2f7f6;
        font-size: 16px;
        font-weight: 400;
        line-height: 44px;
        padding-left: 20px;
        border-radius: 5px;
      }

      p {
        padding-left: 20px;
        height: 30px;
        line-height: 30px;
        font-size: 10px;
      }
    }

    .subscribeus {
      margin-top: 30px;
      height: 80px;

      .banner {
        height: 44px;
        background-color: #f2f7f6;
        font-size: 16px;
        font-weight: 400;
        line-height: 44px;
        padding-left: 20px;
        border-radius: 5px;
      }
      > div {
        .aimg {
          width: 42px;
          height: 42px;
          display: block;
          margin-left: 20px;
          margin-top: 10px;
          background: url(../../images/page/gitee2.png) no-repeat center;
          background-size: 100% auto;
        }

        .aname {
          width: 42px;
          text-align: center;
          display: inline-block;
          color: $color3;
          font-size: 14px;
          margin-left: 20px;
          margin-top: 10px;
          &:hover {
            background-color: $color3;
            color: #fff;
          }
        }
      }
    }
  }

  .swiper-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    .swiper-wrapper {
      width: 100%;
      height: 100%;
      .swiper-slide {
        width: 100%;
        height: 100%;
        &:nth-child(1) {
          background: url(../../images/page/banner1.jpg) no-repeat center;
          background-size: 100% 100%;
        }
        &:nth-child(2) {
          background: url(../../images/page/banner2.jpg) no-repeat center;
          background-size: 100% 100%;
        }
        &:nth-child(3) {
          background: url(../../images/page/banner3.jpg) no-repeat center;
          background-size: 100% 100%;
        }
        &:nth-child(4) {
          background: url(../../images/page/banner4.jpg) no-repeat center;
          background-size: 100% 100%;
        }
        &:nth-child(5) {
          background: url(../../images/page/banner1.jpg) no-repeat center;
          background-size: 100% 100%;
        }
        &:nth-child(6) {
          background: url(../../images/page/banner2.jpg) no-repeat center;
          background-size: 100% 100%;
        }
        &:nth-child(7) {
          background: url(../../images/page/banner3.jpg) no-repeat center;
          background-size: 100% 100%;
        }
        &:nth-child(8) {
          background: url(../../images/page/banner4.jpg) no-repeat center;
          background-size: 100% 100%;
        }
      }
    }
  }
 
}
